package com.hb.umsp;

import com.hb.umsp.service.QuestionBankService;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.ConfigurableApplicationContext;

@SpringBootApplication
@MapperScan(value = "com.hb.umsp.mapper")
public class UmspApplication {

    public static void main(String[] args) {

        ConfigurableApplicationContext ctx =
                SpringApplication.run(UmspApplication.class, args);

//        QuestionBankService questionBankService = ctx.getBean(QuestionBankService.class);
//        String a = questionBankService.getIncrement("A",10);
//        System.out.println(a);
    }

}
